package com.cn.springcloudwechat.model;

import java.util.Date;

public class YmUserPoint {
    /**
     *流水id
     */
    private Long pointId;
    /**
     *用户id
     */
    private Long userId;
    /**
     *豆豆改变之前
     */
    private Long changeBefore;
    /**
     * 豆豆改变类型（1.注册，2.修改头像）
     */
    private Integer changeType;
    /**
     *改变的豆豆(例如:-10豆豆+10豆豆)
     */
    private String change;
    /**
     *改变事由(例如:注册赠送+10)
     */
    private String changeDes;
    /**
     *豆豆总数
     */
    private Long totalPoint;
    /**
     *创建时间
     */
    private Date createTime;

    private String createtime;
    /**
     *更新时间
     */
    private Date updateTime;
    /**
     *状态（0无效1有效）
     */
    private Short state;

    public Integer getChangeType() {
        return changeType;
    }

    public void setChangeType(Integer changeType) {
        this.changeType = changeType;
    }

    public Long getPointId() {
        return pointId;
    }

    public void setPointId(Long pointId) {
        this.pointId = pointId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getChangeBefore() {
        return changeBefore;
    }

    public void setChangeBefore(Long changeBefore) {
        this.changeBefore = changeBefore;
    }

    public String getChange() {
        return change;
    }

    public void setChange(String change) {
        this.change = change == null ? null : change.trim();
    }

    public String getChangeDes() {
        return changeDes;
    }

    public void setChangeDes(String changeDes) {
        this.changeDes = changeDes == null ? null : changeDes.trim();
    }

    public Long getTotalPoint() {
        return totalPoint;
    }

    public void setTotalPoint(Long totalPoint) {
        this.totalPoint = totalPoint;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
}